<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php $this->load->view('include/html_head')?>
</head>
<body>
<div id="wrapper">
	<?php $this->load->view('include/header')?>
	<?php $this->load->view('include/menu')?>
	<div id="page">
		<div id="content">
		<?php $this->load->view('include/sub_navi')?>
			<div class="post">
				<p class="meta">社团动态 - Dynamics of Societies</p>
				<div class="entry">
					<div class="news preview">
						<ul id='top' class='prev_next'>
							<li>
							<?php if (isset($nearest_id['prev_id'])):?>
							<a id='prev' href='<?php echo SOCIETY_NEWS_DETAIL_PATH . $nearest_id['prev_id']?>'>上一篇</a>
							<?php endif;?>
							<?php if (isset($nearest_id['next_id'])):?>
							<a id='next' href='<?php echo SOCIETY_NEWS_DETAIL_PATH . $nearest_id['next_id']?>'>下一篇</a>
							<?php endif;?>
							</li>
						</ul>
						<ul id='title'>
						  	<h2><?php echo $news_detail['title']?></h2>
						</ul>
						<ul id='info'>
							<li><span><a title='<?php echo $news_detail['author_name'];?>主页' href='<?php echo SOCIETY_HOME_PATH . $news_detail['author_id'];?>'><?php echo $news_detail['author_name'];?></a>  <?php echo date("Y年m月d日 h:iA", $news_detail['create_time'])?></span></li>
						</ul>
						<ul id='description'>
						  	<li><span><?php echo $news_detail['description']?></span></li>
						</ul>
						<ul id='contents'>
							<li><?php echo $news_detail['contents']?></li>
						</ul>
						<ul id='view_count'>
							<li>【已有<?php echo $news_detail['view_count']?>人阅读此新闻】</li>
						</ul>
						<ul id='bottom' class='prev_next'>
							<li>
							<?php if (isset($nearest_id['prev_id'])):?>
							<a id='prev' href='<?php echo SOCIETY_NEWS_DETAIL_PATH . $nearest_id['prev_id']?>'>上一篇</a>
							<?php endif;?>
							<?php if (isset($nearest_id['next_id'])):?>
							<a id='next' href='<?php echo SOCIETY_NEWS_DETAIL_PATH . $nearest_id['next_id']?>'>下一篇</a>
							<?php endif;?>
							</li>
						</ul>
				    </div>
				</div>
			</div>
			<div style="clear: both;">&nbsp;</div>
		</div>
		<!-- end #content -->
		<?php $this->load->view('include/side_bar')?>
		<div style="clear: both;">&nbsp;</div>
	</div>
	<!-- end #page -->
</div>
<?php $this->load->view('include/footer_content')?>
<?php $this->load->view('include/footer')?>
</body>
</html>
